package com.xbai.creation.builder;

import com.xbai.creation.builder.product.CarType;
import com.xbai.creation.builder.product.components.Engine;
import com.xbai.creation.builder.product.components.GPSNavigator;
import com.xbai.creation.builder.product.components.Transmission;
import com.xbai.creation.builder.product.components.TripComputer;

/**
 * Builder接口定义了配置产品的所有可能方式。
 */
public interface Builder {
    void setCarType(CarType type);
    void setSeats(int seats);
    void setEngine(Engine engine);
    void setTransmission(Transmission transmission);
    void setTripComputer(TripComputer tripComputer);
    void setGPSNavigator(GPSNavigator gpsNavigator);
}